package cn.tedu.spring.Shop;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class ShopController {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context=new AnnotationConfigApplicationContext("cn.tedu.spring.Shop");
        System.out.println(context.getBean(Shop.class));
        context.close();
    }
}
